<template>
    <div>
        <el-container>
            <el-header>
                <el-menu :default-active="$route.path" class="el-menu-demo" mode="horizontal" router>
                    <el-menu-item index="/home/wash/washappoint">洗护预约</el-menu-item>
                    <el-menu-item index="/home/wash/takepic">拍照预约</el-menu-item>
                    <el-menu-item index="/home/wash/fosterage">宠物寄养信息</el-menu-item>
                </el-menu>
            </el-header>
            <el-main>
                <keep-alive>
                    <router-view v-if="$route.meta.keepAlive" />
                </keep-alive>
                    <router-view v-if="!$route.meta.keepAlive" />
            </el-main>
        </el-container>
    </div>
</template>

<script>
export default {
    data() {
        return {

        }
    },
}
</script>

<style lang="scss" scoped></style>